#ifndef __ATCOMMAND_H__
#define __ATCOMMAND_H__

#include "main.h"

typedef enum {
    INIT_STATUS,
    LENGTH_STATUS,
    DATA_STATUS 
}RECV_STATUS;

int ATCommandSend(char *cmd, char *target, int iTimeoutMS);

int ATDataRecv(char *data, int *pLen, int iTimeoutMS);

#endif
